package com.sharp.authorization.bo.user;

import com.sharp.authorization.bo.permit.PermitInfo;
import com.sharp.authorization.bo.role.RoleInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Title: UserInfo
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/8/25 17:37
 */
@Data
public class UserInfo {
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("手机号")
    private String phoneNumber;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("角色列表")
    private Map<String, RoleInfo> roleInfoMap;
    @ApiModelProperty("权限列表")
    private List<PermitInfo> permitInfoList;
}
